package com.genius.auth.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;

@Data
@ApiModel(value = "邮箱验证BO", description = "从客户端，由用户传入的数据封装在此entity中")
public class EmailCheckBO {
    @NotBlank(message = "邮箱不能为空")
    @Email(message = "邮箱不正确")
    @ApiModelProperty("邮箱")
    private String email;
}